//
//  XiaoximenMainViewController.h
//  Xiaoximen_iOS
//
//  Created by Wang Zhongyu on 12-7-17.
//  Copyright (c) 2012年 Peking University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PABezelHUDDelegate.h"
#import "MBProgressHUD.h"

@interface XiaoximenMainViewController : UIViewController <MBProgressHUDDelegate>
- (void)notifyWithUrl:(NSString *)urlString;

@property (weak, nonatomic) IBOutlet UILabel *subview;
@property (strong, nonatomic) NSMutableArray *parties;
@property (strong, nonatomic) NSMutableDictionary *invitationsDownloaded;
@property (strong, nonatomic) NSMutableDictionary *invitationsLoaded;
@property (weak, nonatomic) NSObject<PABezelHUDDelegate> *delegate;
@property (weak, nonatomic) MBProgressHUD *progressHub;
- (IBAction)onCreateParty:(id)sender;
- (IBAction)onVoteParty:(id)sender;
- (IBAction)onResultParty:(id)sender;

@end
